home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
038a
/
vegx20.zip
/
VGXVIEW.BAS
< prev
Wrap
BASIC Source File
|
1990-11-15
|
1KB
|
53 lines
' VGXVIEW.BAS
' This program simply uses the FILES command to list the VGX files,
' inputs the filename and the flag option to load, and loads the VGX file.
' You must load QB with the appropriate VEGX quicklibrary for your
' version of QB.
' to do so type "QB /Lvegxlibraryname" at the DOS prompt.
' "vegxlibraryname" is VEGX40.QLB for QB 4.0 or BASIC 6.0;
' VEGX45.QLB for QB 4.5, and
' VEGX70f.QLB for BASIC 7.0
DEFINT A-Z
DECLARE SUB VGXLoad (fil$, palflag)
SCREEN 12
CLS
top:
LOCATE 1, 1
COLOR 12
FILES "*.vgx"
PRINT STRING$(80, 205)
COLOR 15
INPUT "Enter filename, NO extension... ", fil$
IF fil$ = "" THEN
PALETTE: SCREEN 0: CLS
END
END IF
COLOR 6
PRINT "PALFLAG OUT IN"
PRINT " 0 no blank bank load"
PRINT " 1 blank to 0 instant on"
PRINT " 2 blank to 0 fade in"
PRINT " 3 fade out instant on"
PRINT " 4 fade out fade in"
COLOR 14
INPUT "Enter PaletteFlag number (0, 1, 2, 3 or 4)... ", palflag
CALL VGXLoad(fil$, palflag)
DO: LOOP WHILE INKEY$ = ""
GOTO top